package com.why.simpleboot.core.server.netty.serialize;

/**
 * @program: why-simpleboot
 * @description:
 * @author: @why
 * @create: 2021-05-13 13:11
 **/
public interface Serializer {

    public byte[] serialize(Object object);

    public <T> T deserialize(byte[] bytes, Class<T> clazz);
}
